import Application from '../application';
import * as koaStatic from 'koa-static';
import {join} from 'path';

export const staticTask = () => {
    const app = Application.Instance.getApp();
    app.use(koaStatic(join(__dirname, '..', '..', '..', 'public')));
};
